import request from './request'

export function addLabel(data:any) {
    return request({
        url: '/label',
        method: 'post',
        data
    })
}

export function getLabelList(type: number) {
    return request({
        url: '/label/list/' + type,
        method: 'get'
    })
}